<!--
Create tabs with an icon and label, using the tabs-positive style.
Each tab's child <ion-nav-view> directive will have its own
navigation history that also transitions its views in and out.
-->
<ion-tabs class="tabs-icon-top tabs-color-active-balanced">

  <!-- Repair Tab -->
  <ion-tab title="故障报修" icon-off="ion-ios-medkit-outline" icon-on="ion-ios-medkit" href="#/app/home">
    <ion-nav-view name="app-home"></ion-nav-view>
  </ion-tab>

  <!-- Orders Tab -->
  <ion-tab title="工单" ng-if="orderPrivilege" icon-off="ion-ios-chatboxes-outline" icon-on="ion-ios-chatboxes" href="#/app/chats">
    <ion-nav-view name="app-chats"></ion-nav-view>
  </ion-tab>

	<!-- Fix Tab -->
  <ion-tab title="复检" ng-if="repairPrivilege" icon-off="ion-ios-cog-outline" icon-on="ion-ios-cog" href="#/app/repairs">
    <ion-nav-view name="app-repairs"></ion-nav-view>
  </ion-tab>

  <!-- My Tab -->
  <ion-tab title="我" ng-if="accountPrivilege" icon-off="ion-ios-person-outline" icon-on="ion-ios-person" href="#/app/account">
    <ion-nav-view name="app-account"></ion-nav-view>
  </ion-tab>


</ion-tabs>
